package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yami.shop.bean.vo.MuseumModelVo;
import com.yami.shop.bean.vo.ProdDetailVo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Yami
 */
@Data
@TableName("tz_vr_scene_detail")
public class VrSceneDetail implements Serializable {
    private static final long serialVersionUID = 6222259729062826852L;

    @TableId(type = IdType.AUTO)
    private Long sceneDetailId;

    /**
     * 场景主键
     */
    private Long sceneId;

    /**
     * 备注
     */
    private String remark;

    /**
     *
     */
    private String status;

    /**
     * 修改时间
     */

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 创建时间
     */

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    private String rightsId;

    private String eventType;

    private Integer sort;

    private Long museumModelId;
    @TableField(exist = false)
    private String rightsName;
    @TableField(exist = false)
    private String content;//权益详情
    @TableField(exist = false)
    private MuseumModel museumModel;
    @TableField(exist = false)
    private List<ProdDetailVo> prodDetailVos;

    private String resourceType;
    private String musicBgUrl;
    private String resourceUrl;
}
